  -- Chrono Lord Deja --
function spell0_17879(pUnit, Event) --@Arcane Blast,n/a--
pUnit:FullCastSpellOnTarget(31457,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17879', 783, 1)
end
function spell1_17879(pUnit, Event) --@Arcane Blast,n/a--
pUnit:FullCastSpellOnTarget(38538,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17879', 840, 1)
end
function spell2_17879(pUnit, Event) --@Arcane Discharge,n/a--
pUnit:FullCastSpellOnTarget(31472,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17879', 2000, 1)
end
function spell3_17879(pUnit, Event) --@Arcane Discharge,n/a--
pUnit:FullCastSpellOnTarget(38539,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17879', 2000, 1)
end
function spell4_17879(pUnit, Event) --@Attraction,n/a--
pUnit:FullCastSpellOnTarget(38540,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17879', 741, 1)
end
function spell5_17879(pUnit, Event) --@Banish Dragon Helper,n/a--
pUnit:FullCastSpellOnTarget(31550,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17879', 773, 1)
end
function spell6_17879(pUnit, Event) --@Time Lapse,n/a--
pUnit:FullCastSpellOnTarget(31467,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17879', 10000, 1)
end
function Sorts_17879(pUnit, Event)
choix_sorts_17879 = math.random(0, 6)
if choix_sorts_17879 == 0 then
pUnit:RegisterEvent('spell0_17879', 1, 1)
end
if choix_sorts_17879 == 1 then
pUnit:RegisterEvent('spell1_17879', 1, 1)
end
if choix_sorts_17879 == 2 then
pUnit:RegisterEvent('spell2_17879', 1, 1)
end
if choix_sorts_17879 == 3 then
pUnit:RegisterEvent('spell3_17879', 1, 1)
end
if choix_sorts_17879 == 4 then
pUnit:RegisterEvent('spell4_17879', 1, 1)
end
if choix_sorts_17879 == 5 then
pUnit:RegisterEvent('spell5_17879', 1, 1)
end
if choix_sorts_17879 == 6 then
pUnit:RegisterEvent('spell6_17879', 1, 1)
end
end
function mob17879_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17879', math.random(1500, 3000), 1)
end
function mob17879_Leave(pUnit, Event)
end
function mob17879_Kill(pUnit, Event)
end
function mob17879_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(17879, 1, 'mob17879_Action')
RegisterUnitEvent(17879, 2, 'mob17879_Leave')
RegisterUnitEvent(17879, 3, 'mob17879_Kill')
RegisterUnitEvent(17879, 4, 'mob17879_Die')
